<?php

namespace Muyuxuanpay\threePay;

interface ProtocolPaymentNotify
{
    /**
     * 回调参数验签
     * @param array $data
     * @return array
     * @throws \Exception
     */
    public function verifyNotify(array $data);

    /**
     * 回调成功返回
     * @return mixed
     */
    public function sendSuccess();

    /**
     * 回调失败返回
     * @return mixed
     */
    public function sendFail();
}